package com.user.seat.mapper;

import com.user.seat.domain.SeatNumber;
import com.user.seat.domain.SeatNumberExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
*SeatNumberMapper
* @author jimmy
* @since 2022/04/22
*/
public interface SeatNumberMapper {
    /**
    * countByExample
    * @param example example
    * @return long long
    */
    long countByExample(SeatNumberExample example);

    /**
    * deleteByExample
    * @param example example
    * @return int int
    */
    int deleteByExample(SeatNumberExample example);

    /**
    * deleteByPrimaryKey
    * @param id id
    * @return int int
    */
    int deleteByPrimaryKey(Integer id);

    /**
    * insert
    * @param record record
    * @return int int
    */
    int insert(SeatNumber record);

    /**
    * insertSelective
    * @param record record
    * @return int int
    */
    int insertSelective(SeatNumber record);

    /**
    * selectByExample
    * @param example example
    * @return List<SeatNumber> List<SeatNumber>
    */
    List<SeatNumber> selectByExample(SeatNumberExample example);

    /**
    * selectByPrimaryKey
    * @param id id
    * @return SeatNumber SeatNumber
    */
    SeatNumber selectByPrimaryKey(Integer id);

    /**
    * updateByExampleSelective
    * @param record record
    * @param example example
    * @return int int
    */
    int updateByExampleSelective(@Param("record") SeatNumber record, @Param("example") SeatNumberExample example);

    /**
    * updateByExample
    * @param record record
    * @param example example
    * @return int int
    */
    int updateByExample(@Param("record") SeatNumber record, @Param("example") SeatNumberExample example);

    /**
    * updateByPrimaryKeySelective
    * @param record record
    * @return int int
    */
    int updateByPrimaryKeySelective(SeatNumber record);

    /**
    * updateByPrimaryKey
    * @param record record
    * @return int int
    */
    int updateByPrimaryKey(SeatNumber record);
}